package compiler.syntax_tree;

import java.util.Vector;

public class StatementList
{
    private Vector<Statement> statements;

    public StatementList()
    {
        this.statements = new Vector<Statement>();
    }

    public void addElement(Statement n)
    {
        statements.addElement(n);
    }

    public Statement elementAt(int i)
    {
        return statements.elementAt(i);
    }

    public int size()
    {
        return statements.size();
    }
}
